﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SubstitutionEdit.aspx.cs" Inherits="MedicWeb.forms.Print.Edit.SubstitutionEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
    <style type="text/css">
        #form1
        {
            width: 478px;
        }
    </style>
</head>
<body style="width: 484px; height: 166px">
    <form id="form1" runat="server">
        <table>
            <tr>
                <td width="1%">
                    Переменная</td>
                <td>
                    <asp:TextBox ID="tfAlias" runat="server" Width="100%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td width="1%">
                    Значение</td>
                <td>
                    <asp:TextBox ID="tfValue" runat="server" Width="100%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td width="1%">
                    Замена</td>
                <td>
                    <asp:TextBox ID="tfReplace" runat="server" Width="100%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td width="1%">
                    Условие</td>
                <td>
                    <asp:TextBox ID="tfCondition" runat="server" Width="100%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td width="1%">
                    Контекст</td>
                <td>
                    <asp:DropDownList ID="comboContext" runat="server" Width="100%" CssClass="nullable">
                        <asp:ListItem Value="">Не определён</asp:ListItem>
                        <asp:ListItem Value="MedicService.Domain.Print.PrintAttestatProtocol">Протокол аттестационной комиссии</asp:ListItem>
                        <asp:ListItem Value="MedicService.Domain.Print.PrintProfileProtocol">Протокол профильной комиссии</asp:ListItem>
                        <asp:ListItem Value="MedicService.Domain.Print.PrintOrder">Приказ</asp:ListItem>
                        <asp:ListItem Value="MedicService.Domain.Print.PrintExtract">Выписка</asp:ListItem>
                        <asp:ListItem Value="MedicService.Domain.Print.PrintSertificate">Удостоверение</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td colspan="2" class="style1">
                    <asp:Button ID="btnSave" runat="server" onclick="btnSave_Click" 
                        Text="Сохранить" />
                    <asp:Button ID="btnCancel" runat="server" Text="Отмена" />
                </td>
            </tr>
        </table>
    </form>
</body>
